<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/css/extjs.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/css/def.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/js/ext340/resources/css/ext-all.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/js/ext340/resources/css/xtheme-gray.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/js/ext340/examples/grid/grid-examples.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/js/ext340/examples/ux/css/RowEditor.css" />
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/js/ext340/examples/shared/icons/silk.css" />       
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/css/aspnet/aspnet.css"/>
        <link rel="stylesheet" type="text/css" href="<?php echo $this->uri->baseUri; ?>assets/css/silk_v013/silk013.css"/>
        <script type="text/javascript" src="<?php echo $this->uri->baseUri; ?>assets/js/ext340/adapter/ext/ext-base.js"></script>
        <script type="text/javascript" src="<?php echo $this->uri->baseUri; ?>assets/js/ext340/ext-all-debug-w-comments.js"></script>
        <script type="text/javascript" src="<?php echo $this->uri->baseUri; ?>assets/js/view/lib.js"></script>
        <script type="text/javascript" src="<?php echo $this->uri->baseUri; ?>assets/js/ext340/examples/ux/TableGrid.js"></script>
        <?php
        $templatePath = 'assets/js/view/app/';
        $files = scandir($templatePath);
        foreach ($files as $file) {
        if (is_file($templatePath . '/' . $file)) {
        ?>
            <script type="text/javascript" src="<?=$this->uri->baseUri.$templatePath.$file?>"></script>
        <?            
        }}
        ?>
        <script type="text/javascript" src="<?php echo $this->uri->baseUri; ?>assets/js/view/mainpanel.js"></script>
        <script type="text/javascript" src="<?php echo $this->uri->baseUri; ?>assets/js/view/app.js"></script>
        <title><?php echo $title; ?></title>
    </head>